How to enrol students and put them into groups and classes