We can implement all internal APIs as async style and using [synchronize.js](http://alexeypetrushin.github.io/synchronize/docs/index.html) or [fibers](https://github.com/laverdet/node-fibers) to convert them into sync for CLI.