First pass implementation of couchbase datastore