Major Refactor; Bug Fixes

Extracted cli command execution from cli parsing code
Extracted shared command line error handling code into utils files
Removed require statements no longer needed
Corrected a bug in listMissingFiles which caused a callback to be hit twice (introduced with last commit)
Removed test command that did not need to be there