Promises removed to allow gulp streaming.

I don't know if you depend on promises, but they were chained deeply and prevented Gulp streaming. I'd suggest wrapping the API in a optional promise instead.