Code clean-up , smarter handling of URIs and trying to leverage some apache-nutch utilities for domain parsing