cgi functionality complete except for cla script
cleaned up the cgi scripts to work with the server