Add Q package
Convert from callbacks and async library to promises for server code