Added new model_id concept and implemented kart_factory_fn decorator