Simulator class for running from Python