Added using of remote queues, and made a static utility class LineUp.