'Constructor'

def __init__(self, collection_mgr, verbose=False, logger=None):

    self.verbose = verbose
    self.collection_mgr = collection_mgr
    self.settings = collection_mgr.settings()
    self.api = collection_mgr.api
    self.distros = collection_mgr.distros()
    self.profiles = collection_mgr.profiles()
    self.systems = collection_mgr.systems()
    self.distros = collection_mgr.distros()
    self.distmap = {}
    self.distctr = 0
    self.source = ''
    if (logger is None):
        logger = clogger.Logger()
    self.logger = logger
    header_src = open(os.path.join(self.settings.iso_template_dir, 'buildiso.template'))
    self.iso_template = header_src.read()
    header_src.close()
