Segregated and improved gruntfile.js