Added the beginnings of the router's queue processor.