move __init__ to __main__