Adding mapReader into engine.py