Modifications for better npm packaging
Adding in pin setting/getting for hardware models