Debugged the scenegraph-loader and changes some variable types to smart pointers