1. changed TeacherData into TeacherAttributes. 2. moved most of the stuff from main to teacherAttributes.