Grouping libraries into different catalogs