Generates a new interface from the inputted module.
    
    :param      module | <module>
    
    :return     <Interface>

def generate(module):
    """
    Generates a new interface from the inputted module.
    
    :param      module | <module>
    
    :return     <Interface>
    """
    inter = Interface(PROGRAM_NAME)
    inter.register(module, True)
    return inter