Reworked persistence
Fixed deps of example module