Create main.py

added server proxy code