sugar for managing couchdb database