move commands to Druq.Hub so they can be used in event processor