Added support for cmd

Added support for [CMD](https://github.com/cmdjs/specification/blob/master/draft/module.md).