Added a simulation class