Update Trainer.h

Pushing trainer.h for core