First working GUI version