added relations
added name methods to pupil and teacher