Changed some Event set APIs and added definitions for initialize() and insertEvent(). Note: In current implementation, if event inserted is the first event in the input queue, it is inserted into the schedule queue. This feature might not work when lock-free scheduler code is added.