How to do app routing with the newest Express.js?

the title may not be clear.. but.. before, I can do this:

/* file 1*/
app = express.createServer();

/* main file*/
server = express.createServer();

// route
server.get('/whatever', function(req, res) { res.send('whatever'); });
server.use('/test/*', app);

But for the newest Express.js, I can't. any idea?

A lot has changed in version 3.x. The basic example on the express web site shows the following code now:

var express = require('express');
var app = express();

app.get('/', function(req, res){
  res.send('hello world');
});

app.listen(3000);

http://expressjs.com/api.html