Added q and promises
Added CLI