Added Gamepad class