Added a whole lot of comments

For the benefit of the reader