Change main to three-scenegraph