Refactor into tool-specific scripts for install/configure/uninstall

This fixes #27