Extracted model from code and first attempt at wrapping the listbox.