Creation of main file, beginning of the graphical interface