Cleans up code
Fixes issue in PackageCommand

'confirmInstallation' doesn't exist anymore
Further code cleanup
Improves file/class names
Improves package (un)installation finish
Fixes update text
Adds missing permission check