Refactored game screen and gameover screen to their respective screen classes