Refactor emonhub dispatchers pt1
Refactor emonhub dispatchers pt2
Refactor emonhub dispatchers pt3