How to Use Flask-SQLAlchemy to Interact with Databases in a Flask Application