Add groups

This PR adds groups to the submission system.

Still needs a frontend though.
I can't seem to get max_group_size to change or work. :(