code cleanup
added lots of comments
added basic info to README.md