Get rid of hacks to bring in some Native modules
Make sure every module is associated with a PackageID
Properly extract the PackageID for the root package