Migrated for Grunt v0.4.0

* Moved files to appropriate folders
* Changed template.js to use the latest API