This is way easier than flask + sqlalchemy.