Okay then we need to define an interface IEventSource and a proper factory method in the server container