package installation refactoring