README.md
Reorder files and refactor code.