Changed build script
Added new file for main view and it's controller