added model functionality to parts of the GUI