bug fixes and code polish
added readme
code polish
code polish
code polish
code polish
code polish
code cleanup.