Increased speed of manage class (fixes issue 68).

Changes taken from suggestions in the issue. groupedClassrooms call is replaced by faster call that only does what is needed.

#68