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 want to put it in and it should work pretty good (I can't check so still unsure, need someone else to help check). Also I added a team edit thing to the entities but I can't tell if I have done that right.