* refactoring out link analysis utility code to separate class
* setting up for unit testing