Abstract event manager

sharing event manager API
same.