Minimize

This removes unused code and adds a minimize task to grunt.