Database interface work. CouchDB is working via sag.