Refactoring template, adding grunt file, updating dependencies