created GenericPickerModel class