download method implemented

Implementation of the download method. I tried and it works great:D