Added getPeriodsByClassId and getDailyPointsByPeriod + function to teacher-classes