add id for some elements
replace pages classes for id's
Make total refactor: delete ui object, write more simple code for dom manipulation
Add checking for game mode
Setup games mode