added main.py as portal program