add plugin interface
remove useless `.extend` for inheritence
cleanup tests
bump to 0.2.0