Added the functionality to Connect to the device, program the device, and disconnect from the device.