Adding routes and a controller to the application