added game's scenes, refactoring code using scenes