Added comments to the ImageIO code. Closes #12