NumberConfigurationManager.cs refactored to RandomNumberGenerator.cs