Moved MainController from index.html into main.html

Also removed extraneous container in main.html