Refactored create_data_product to enable UI