Reimplemented server.js using the stack_info module.