Migrates Layers and LayerTree and parts of the `flow/` utility classes to use DlGeometry (Impeller) classes.