sim/runtime: most of module plumbing in place
sim/runtime: simulating modules
misc: clean up code in epilogue used in command line simulation