Make class into viewer