[Review]: Removed sqlalchemy requirement from map_factory

I created a mock ``DatabaseEntry`` class in case sqlalchemy isn't installed. This should make sqlalchemy a non-requirement.