Structured all of the code in directories.
Initial draft of the README.