Added class pseudocode to interact with CouchDB.