[TASK] Added GUI codes Memory management