Overhaul couchDB settings