'Construct object.
:param self: A TemplateManager object
:type self: TemplateManager
:return: None
:rtype: None'

def __init__(self):

    self._template_directory = PHISHING_PAGES_DIR
    page_dirs = os.listdir(PHISHING_PAGES_DIR)
    self._templates = {}
    for page in page_dirs:
        if os.path.isdir(page):
            self._templates[page] = PhishingTemplate(page)
    self.add_user_templates()
