Added the download functionality and threading
deleted useless dependencies