created a controller, view and route