ModelFactory creates an instance of the root model