refactored api
Release 0.2.0