updated mainGndMapRdr example to use class factories