We should consider to remove the Flask-SQLAlchemy and use SQLAlchemy directly. It allow us to extend our library on others frameworks like [FastAPI](https://fastapi.tiangolo.com/). Keep in mind to configure database model to support mult-threaded sessions.