injected MapFactory to controller