Middleware built around bluebird promises