Major refactor.
Still need to do:
  1) Deal with url expansion errors
  2) Deal with "uniqueness" problem
  3) Specify maximum number of distinct urls
  4) "search" method.
  5) Save final results to the finalurls table.