Imlemented some business logic for Person entity. Mostly for testing hibernate