Refactored downloads.go
Refactored the wget implementation