var addToQueue;
var server = require('http').createServer(function (req, res) {
	if (req.url === '/favicon.ico') {
		return;
	}
	addToQueue(req.url.substr(1));
	res.end('');
});
server.listen(11235);

addToQueue = function (name) {
	require('./').run(name);
};

var slaveDriver = require('./slave-driver');

require('http').createServer(function (req, res) {
	if (req.url !== '/favicon.ico') {
		slaveDriver.run(req.url.substr(1));
	}
	res.end('');
}).listen(11235);

cut down on server.js