refactored InstallController