Code fixes and clarifications.
Add README.
Add example code.