Change to SQLAlchemy and personalize incoming message endpoints