rename cli to cli.js
refactor ghost.js, remove nconf