[TrainModel] Updated classes for prototype