Move the libusb calls behind an adaptor class.