Initial commit of runpi.py