Adding initial code for the GUI