[add] Gui, main functions