Add message queue config variables
Move worker config to top level
Use configuration variables