Created hook for EventTick and finished the EventManager.