create queue class