Testing remaining time on UI
Implemented remaining time based on average download speed over the last X seconds
Cleaned some code
Renamed sharedDownloadManager to sharedInstance