Refactor and fix bugs

Basic high-level wrappers are now in place and working. This closes #3.
It also bumps version to 0.2.0.3.