Updated the overall structure of the script, compressing everything into one action (read article -> parse -> store links), rather than two (read articles -> store; read DB -> parse links). Temporarily moved everything else into oldXmlExtractor.