Then you do the layering when you need to. One of my biggest gripes about many engineers is their desire to fix technical debt for no business purpose.
In your example, the team tasked with retrofitting would have introduced the layers when the need to make changes arose.