migrate to couchdb
define first data model