Added more comments

More comments for the whole file.