Added basic support for different queues(or channels)