Fix typo in README.
Move code in README to their own files.