made pouchdb work
made fynx somewhat work
added immutable, and typings