Refactor Joystick class