Start of python 2 player server code