changed the project structure and added maven support
added persistence.xml