Added base joystick class