One strategy that I've seen work for this kind of deep architectural change is to write the new system, then write a shim that provides a compatibility layer (however hacky and ugly) to emulate the old system. This lets you test the new system without then having to also test everything that the system interacts with. And
then, start replacing usages of the shim with direct interaction with the newer prettier system.
Think the win32 to NPAPI transition.