Added initial frontend for queues. Incomplete though.