moved the installing code to its own package