added __init__ and __main__, updated structure.py