added server side functionality. server is sending queues to clients regularly