Backup of old trainingsmanager, rewriting to class based window solution