Added support for resuming downloads
Cleaned up some packages