so the follow up should be to move all the code in MainView into this file and remove the view.js from the project.