CouchDB support added, thinking about switching back to Postgres