began to add couchdb suport for doc store