Move joypad functionality into its own class and make joypad reads much quicker