Removed functions from scope that shouldn't be there
Several refactorings
Split directives into separate files
Generated files after splitting directives into separate files
Enhanced Gruntfile so it replaces double blank lines with a single one