Added download methods on the download manager
added array extension