#71 add device as parameter to the modbus init function