Setting up controllers, routes, and initial pages