Ported to PythonTools

PythonTools takes care of saving and some debugging stuff