updated queue rout, refactored queues controller, and updated tests