Rewrite site.pp by hand

Also compartmentalize OS-specific settings.