Changed directory structure to follow structure of python couchdb.