Persistence: implemented saveTrainType in JDOM (to see how it works) and
a TestClass ("PersistenceTEST) to test the functionality.