Implemented the graphic of the main page, and the loading from the file.