Renamed role table into groups, and debug