refactoring CoreInstaller