Added class adding for professors