Added some comments to the graphics class