use method setupDetailsWithName to create the CarFactory object