Refactored personpicker to class