Added interacciont between GUI and interpreter