update metadata builders, extract layersConfig
patch generator wip
the root patch is actually the only owner for misc-files. It's up to the patch-gen tool to resolve eventual conflicts