New classes and persitence.xml for using PersistenceManager