Refactored queues into new package queue, and created a trait WorkStealingQueue.