Auto api docs

Auto generate API docs, and extend Travis unittest coverage.