lib: Provide a convenient RuntimeSimulator class