added event types and basic simulation class, updated wscripts