added comments and readme, and tried to impliment history