Added deltas to sync system
Replaced pouchdb with dbjs