Replace tabs to with spaces in test file
Refactor config loading and mgmt into new command

Also refactor open module out and shelljs