Moved database and properties out of the JAR.
Changed properties.xml to def.xml