Wiring up the routes and controllers