Chain commander is a library based on Bluebird promise library, to encapsulate business rules logic in form of javascript objects or JSON.