Adding logging ability to xtractor. Cleaning up code. Fixed an issue where the program wouldn't check the url before trying to run