Fixes #18, Fixes #19: Using smart pointers to create/get nodes from the scene according to the suggestions from @ungi regarding commit @62581de20ee5b2853882f90b6a0ec1d8b347d26e.