Moved modules to library. Replaced couchdb with mongodb. Added flask application