Joystick class added