added plain viewer and REST viewer