move Queue to process's scope
Merge pull request #4 from Altynai/queue

[Confirmed by Fity]move Queue to process's scope