New functions in Class1
Fixed Trainer.cpp