Finished The implementation and tests of the Event/trigger system