Start rewriting start opensim script in python.  Add pid check