RandomGenerator and Grouping and cardDetails changes

RandomGenerator and Grouping and cardDetails changes