full realization, added encoder of list of names, GUI