second commit, added Viewer class and QUIT counter