added functionality for getting classes, class students and all student