Add error responses and rate endpoint
Add documentation