[sim] Clean out old simulator code and add skeleton infrastructure for new simulation mode.