New express server method modified using createserver(app).