Add support for using wd’s promise API
Merge pull request #1 from mogstad/promises

Add support for using wd’s promise API