Moved the 1-process master to worker.py, leaving master.py as a pure MPI hub