Added PersonRepository. Changed configuration