Refactor to use grunt
Now we can add some tests!