use shared_ptr in node and sceneManager