initial commit
factorize install script.