Add rudimentary X3D file reader.
Cleanup.