Insert randomGenerator in ItemFactory. Everyone should use this randomGenerator.