Added documentation to all methods.
Removed the getInputStream method from DownloadAgent class - it was only used in a test case. Also removed the corresponding test case.