Add IPackage interface, fix IPackageManager