Add a new queueing system.

Still partially unfinished.