Added PackageManager class