fixed gruntfile for new structure and added globals