overhaul of modularity in master and slave process managers