Add support for package groups

Other improvements should follow for allowing blacklisting packages.