Refactored GemGenerator to TreasureGenerator