Better Comments

Each method in server.py now has docstrings explaining what it does.