created app.py,use flask framework