Added the magic persistencemanager