Set up core data for groups