The API documentation has moved

The API is now implemented in a separate module, and the documentation has moved to api/docs.