Made install functions publicly accessible

This means this can be used as a library by other Go code as well (to do things like
install libraries)