Add documentation and better access to the API