added InstallRepository impl and moved initialization from command into impl