Added a lot of comments to various classes.