added a bit of comments and updated readme.md