Created the GuiManager class.