Cleaned up a lot of dead code. Added a small amount to README.md.