Consolidated Repository class generation