added some comments and a readme