Initialize the ModelFactory only with the relevant attributes