Promisified everything.
Merge pull request #10 from wbyoung/promisification

Promisified everything.