start maprenderer class and prepare mapgen for it