Add promise implementation
Merge pull request #2 from ForbesLindesay/implementation/promise

Add promise implementation