I think we could move all of the actual pagerank logic into a jython file that just gets imported by all of the scripts that use it.  This would cut down on code duplication a lot and be a good example of how you can structure more complex code.

I'm imagining something like:
* Create a Pagerank class that sets all of the internal parameters and has the run_pagerank logic.  
* Create a constructor for this class that takes in the parameters the user can change
* Update the 3 pagerank control scripts to just construct this object with their own version of the parameters and run it.