Added datasource settings to persistence.xml
Changed packaging type