Enabled grunt
Split main.js into multiple files
Fixed paths to static resources
Fixed dependancies
Merge dev to master.