Updated to return a promise.

Updated README with new example of how to use as a promise.