Added GUI with functionality