refactoring + changing into the grunt.initConfig