The PkgManager class provides the interface to package management. First of all we semantically split its methods in few interaction categories. In this way we are able to generalize the entities involved in package management and their corresponding operations. We highlight three main sets: the cache, the single package, the real application.