Added support for a 2 new phases to be run after package the
installation is complete: finish and cleanup.
Added a void package, for extra-customization
Added support for two extra phases and cleaned up the code in the process