// Indexdb abstraction that stores (and updates) objects in a pool and allows for live retrieval for the view layer. /* We should have different databases for different entities. * Then the view layer can use live queries * The sync layer will keep this pool up to date */