Added waiting queue, expections,and a client list + tests for qaiting queue