Fix function names, remove some site-specific code, and update the README