Main function, entry point of the program.

def main(conf):
    """Main function, entry point of the program."""
    global config
    config = load_configuration(conf)
    app.conf.update(config['celery'])
    run(host=config['valigator']['bind'], port=config['valigator']['port'])