Added commenting to worker.py and seperated get_queue_statistics method