0.5.0 general structure and API improvements