de-coupled ndb code, except nab functions are imported for now until we have a configuration scheme.
the update_done/bubble up logic is still in the ndb module, I'm thinking it would be better as part of Marker so the persistence layer is as dumb as can be.