Add documentation Improve design of interfaces (both CLI and library client) Better error handling on CLI and library interfaces Add tests for both CLI and retrieve function