Abstracted common source viewer code