refactor model added resources base domain class->car