made downloader asynchronus (this fixes #6 ) and some other stuff