schema done

Now a true generic viewer