Client API for interacting with CouchDB is ready, also the aggregator functions