Add README and a bunch of CS fixes.