Building the graphical user interface