added some comments, and updated README