CouchDB support added, thinking about switching back to PostgreSQL