Initial commit of outlink-extracting code.