Added generic persistence.xml
Refactoring
Added persistence.xml