add new apis and replace promise polypill library
Merge pull request #3 from shoito/add-new-apis

add new apis and replace promise polypill library