Code changes to use peroperties file for training data input