Create view, controller and routes for main class