Begin moving logic from CouchWrapper to CouchClient