Separation of the GUI and data