Insolated Scheduler and EventManager from plugin package.
A plugin is both an EventOwner and TaskOwner (Can register events and task).
Removed AnonymousTask since its no more necessary, an engine is both
EventOwner and TaskOwner too in the implementation code.