Move interface __init__ to main and let it use config to avoid init method