create factory function make import queue

A factory function for making a import queue.