@Override
@SuppressWarnings("unchecked")
protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
try {
Map<String, Object> parameters = new MapMapConverter().convert(request.getParameterMap());
Map<String, Object> parsed = new PathParser().parse(request.getRequestURI(), parameters);
decorate(parsed);
Controllers controllers = Controllers.valueOf((String) parsed.get(PathPart.CONTROLLER.name()));
MediaCentreController controller = controllers.getController(new TemplateEngine(getServletContext()));
controller.action((String) parsed.get(PathPart.ACTION.name()), parsed, response);
} catch(IllegalArgumentException e){