added main.py copied from template.py