Replace modulator->userData with modulator->udev and start merging the rd_regs and wr_regs commands
Remove (Modulator*) cast, as it is not needed