Added support for direct analysis of URLs + general code/style review.