Finish change teams amount to 8, add multiple gamepad support

Teams settings are in the separate class (button and gamepad indices and activity state). Removed many hardcoded amounts of teams - should be easier to configure it.
Merge branch 'restructured' of https://github.com/alaershov/brain-system into restructured