extract_model_info function

Extract model information using S3 dispatch