Adding CGI support and Tag constants