Merge between TrainningAppGUI repository and TrainingApp. Does not run, it needs revision.