Configures Grunt
Refactoring and tweaks to meet tests
Adds test for photo uploads