Removed Extraneous main code

Removed the main template and moved the controller directly into the
config file. Updated the app.js file to reflect the controller deletion.