Add a queue class