Updated main.js to start the controller 

Controller needs to be instantiated to work properly