add couchdb bits and web interface