[TGUI] Refactored the directory tree