start housekeeping
rename pid
namespace changes.  finish housekeeping