PEP8ified main.py and added client transaction for queue_add