REF: WeightedRandomGenerator as static class
REF: make WeightedRandomGenerator a static class