Edit menu partially implemented, TODO: design of the code of the gui (object oriented)