wip local persistence, waiting for OOP environment for persistence layer