added signal handling, fixed error
abandoned libusb and setup libudev & hidraw