clean up api. add tests
start refactoring expand method
v0.3.0

minor refactoring, general improvements
run verb