PEP8 and docstring cleanup on AI code. Minor functional improvements.
PEP8 and docstring cleanup on server.py.