Starting to implement the gui.