Added Readme and some various code changes
added readme