code reorgs to support new client-server support for remote exec on build machine