Build a delivery queue and generate a route