Player Classes

OK I am using the “Fretta” GameMode framework, but I don’t know how to add player classes. I tried the tutorial on the Gmod Wiki Backup ( but it didn’t work. Can someone help? Also I need the classes to be team specific. (like Team 1 can only use Class A, and Team 2 can only use Class B)