Beginning of the GUI implementation