Changed data structure to include repository patterns for models and persons.