Creation of main screen and game screen