Custom Team Code Pull

This adds teams and a way to modify them. It also adds the team relationships but nothing will actually run as I haven't verified if it will work. (I can't check so still unsure, need someone else to help check). Also I added a map edit entity but I can't tell if I have done that right. It only does a team limit for now.