[WIP] version 0.3

Major refactoring of the API, implementation, and tests.