Added a pseudo code for the GUI, as a suggestion

for a clearer and easier to use interface !