A class to store groups of objects