Started adding XML to Trainer