Template for groups/classes

Base for classes and groups, can't be named 'class' as it's a reserved
keyword.