Queue Manager Updated

used doubly linked list and put the objects into context