Changed functions according to new tables

added fields constructor to class Person
added fields and constructor to class PersonEntity