Set up new models including a join table with pupil and group refs.