Cleaned up TeacherIndexController by removing unused code, models,
imports.