Cleanup: add documentation, move a couple files.