parsing and events and simulation class added