Added multithreaded download functionality