Added command and pqueue structs