Take the Couchbase functionality in use and move the implementation away from the DB interface