Realized PackageManager. Lazy loading of packages.