Documented the mapFactory code and removed console logs.