Initialize grunt, refactor a bunch of stuff