implements all the functionality for downloading data
checks if a url is valid and finds the final url
triggers the exploration of url