utils.js, which imports everything. Closes #209.
Move PHP CGI gate to a separate file.