refactoring gruntfile and templates