Lots of refactoring to use Grunt as a build tool. Not everything is working yet.