Completely reworked the library internally to support asynchronous flows using promises.
Released version 0.8.0