Added couchdb interface and an implementation that uses httpclient