Fixed the setup of the layout within the controller
Added quick RESTful route setup