Added Trainer class to Anaylsis.py