created index route, controller and template