repackaging and changing to use properties and sqllite database