implement PackageManangerInterface
change the way to get packages