Set up and seed the CouchDB database