Cleanup

Will be working on handling HTTP errors and leftover half-downloaded packages in upcoming PR.

- 80 char line limit
- using string formatting instead of concats
- raising fatal exceptions