Populate pkgs and categories