code cleanup

make the sample more normal - fix up README.md