add promise support to constructor
add docs and bump minor version