added capability to download files from the internet using restler (an asynchronous api).