Added an event set interface to schedule next event from an object. It also move the old event from unprocessed queue to processed queue.