exports early
use strict early, ok in node.js
add simple request handler tests, remove code