reformat Jinfeng's code
add hbase option for ExtractLinks
More light refactoring.