some raw couchdb requests (not usable yet)