further refactored scene graph. Not fully functional for our use, but should be shortly