remove dependency of ErlangEventhandler on IBackend