fix pep8, prints, and python 2 and 3 support
added docs + moved direction to both server and client command