Executing a large-scale refactor

Safely and gradually rolling out large-scale changes on a codebase.