Added couch interface and an implementation that uses httpclient