Refactoring of Managed Package Installer (mpinstaller)