// Add the route
server.addRoute({
method: 'GET',
path: '/hello',
config: hello
});
I'm sorry but how is that different than
app.get('/hello', require('simplemath'));
where simplemath is module.exports = function(req, res) { ... }