Created Modem object for value persistence and created sendHex(hexString) function.