Add api package and refactoring
Merge branch 'refs/heads/api'
Add labels for testing
Bump version to v0.3.0
Start v0.4.0-dev