changed README and inserted a lot of comments