code: def make_library(self, diffuse_yaml, catalog_yaml, binning_yaml):
          
          ret_dict = {}
          #catalog_dict = yaml.safe_load(open(catalog_yaml))
          components_dict = Component.build_from_yamlfile(binning_yaml)
          diffuse_ret_dict = make_diffuse_comp_info_dict(GalpropMapManager=self._gmm,
                                                         DiffuseModelManager=self._dmm,
                                                         library=diffuse_yaml,
                                                         components=components_dict)
          catalog_ret_dict = make_catalog_comp_dict(library=catalog_yaml,
                                                    CatalogSourceManager=self._csm)
          ret_dict.update(diffuse_ret_dict['comp_info_dict'])
          ret_dict.update(catalog_ret_dict['comp_info_dict'])
          self._library.update(ret_dict)
          return ret_dict
docs: Build up the library of all the components
  
          Parameters
          ----------
  
          diffuse_yaml : str
              Name of the yaml file with the library of diffuse component definitions
          catalog_yaml : str
              Name of the yaml file width the library of catalog split definitions
          binning_yaml : str
              Name of the yaml file with the binning definitions