add VisInfo class

This is easier to work with than having that stuff hard-coded into
the GUI