Refactor QueueManager to a singleton for usage in bus as well as directly for clients that wants to access the queues directly.