Merge pull request #12 from apapap/master

Use Promises instead of EventEmitter for handling return results