Update readme.
Add some minor code documentation.