document viewer + metadata extraction and tracking