Adding shared pointers
Using shared pointers for game objets