some code cleaning, readme.md added