prepare views in couchdb