Creating structure for the groupBalancer