Added better documentation and a slightly more intelligent way of downloading the files