Added ExerciseValidator class.