build couchdb connection
adjust backend to couchdb
handle new date format
fix wrong versions
remove deprecated database functions