I did the modifications this way just to keep old code functional, i can still modify the main EventDispatcherAsync and EventAsync to use parameter from the config files and act via http request or via cli and using the http request way by default if the parameters are not set.