Update for new MC vers and add cmd permissions

Removed unused imports
Reduced code duplication
Other cleanup
Remind Travis that we build with 1.6