RF: Make this installable, so I can use it :-)

This is a rather extreme restructuring, but I would love it if you wanted to adopt it and make this into a separately installable package.