added comments to JPAManager methods and nested classes