Updated the gamestate and system classes to include joystick/controller support.