Add PackageManager class implementation for Gentoo system