rework
update api to match native plugins
add examples
cleanup
add tests
update docs
Merge pull request #14 from queckezz/rework

rework