Add documentation for listing API
Implement listing API
Add tests and fix comments