Did some work on Cgi.idr
	- Added ability to set cookies
	- Changed internal state so action does not have to be recorded