Changed layout of the game

* Now there's pages for popup and pages for mainpages
* There's only one Window