DOC: Improve documentation

In particular, add autogenerated API documentation. Closes #1