Converted rez-env to python.  Still a work in progress