simple modbus class