Add groups

This PR adds groups to the submission system.

Still needs a frontend though.
Jk, just did a `get_or_insert` call.