Working version of the visions system

The old files have been moved in the old directory.