Set up main controllers and view files