define flags in terms of other flags
add some api docs
Release v0.7.0-1