rename perl cgi
adding generate.pl, and improving documentation