Download logic implemented... Need refactoring, logging and token
control for download...