Docstring fixes
Add auto-generated API docs
Adding tests