Implemented HID manager. Closes #1