Notes on what to do when modernizing an aging C++ codebase