remove commented lines.
new module for downloading data.
more error checking