Added structs for pending queue, routing tables