work on modules for couchdb