Add basic API usage documentation

Also rearrange a few things

Closes #96