Some code cleanup.
Add Gruntfile.