Update application.py

Add SQLAlchemy support