Added support for switching queues
Updated code comments
Merge pull request #38 from bollig/master

Added support for switching queues