#13 improve modbus implementation