I creaded this messy but somewhat functional backend server with nodejs:
var fs=require("fs"); var http = require(\'http\'); var events=require("./