added group table/classes and foreign key