Some musings on a possible API. Haven't even thought about compiling it, but who cares about that anyways?