Moved TeamBalancer into its own header/source files.