move all teacher manipulation logic to TeacherManipulator class
update chair registry
add uniq indexes for racecondition fix