added GameObject class which all game objects will extend