Increased speed of manage class (fixes issue 68).

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