Abstract event manager

sharing event manager API
I think we may be leaking file handles here.