Works with the new methods for adding classes/students/teachers.
TODO: check algorithm for EGN validation