made couchdb server url configurable