Added comments to cgi library