added JoystickController class.