Added Person class and used it in other classes.