main Class / Viewer