added scenegraphnode class