sim/model/vars: work on modules
sim: more in-progress work on simulating modules