Messed around, created contained managed entity manger class, edited persistence.xml