Moved BaseMapper import to not impose the Flask-Login and Flask-SQLAlchemy dependency for now