Extract PackageManagerKit (and a bit of LRCommons)