worked on typescriptification and added bluebird