Externalized persistence of the cached db and of new state
Only the persistence module requires fs now, better separation of tasks