coding #1 adding controller and renaming the main view of the application