integrated ScoreManager with GameView and Obstacle and made score static and changed some methods to public static