Added: More teams implementation

Lots of it isn't pretty. Don't judge.