Cleaned up the gui, changed the data input and output to work with
lists,