add grouped category data provider and trainer