Add a bit of queue initialization logic

This generates queues and hooks them up between the tiles, but doesn't
actually contain any code to do anything with those queues.