more compact case statement
change self-test to use new functions
install_github uses new syntax which allows specifying multiple packages to be installed