Setting up routes, controller, and views