var express      = require('express')
var cookieParser = require('cookie-parser')
var bodyParser   = require('body-parser')
var routes       = require('./routes/directors.js')
var app          = express()

app.use(bodyParser.urlencoded({ extended: true }))
app.use(bodyParser.json())
app.use(cookieParser())


app.use('/', routes)

module.exports = app

@@ -199,16 +199,140 @@
 ress()%0A%0A
+var Director = require('./models/director')%0Avar nohm  = require('nohm').Nohm;%0Avar redis = require('redis').createClient();%0A%0A
 app.use(
@@ -426,16 +426,85 @@
 ser())%0A%0A
+nohm.setClient(redis)%0Aapp.use(nohm.connect(%5B%7B%0A  model: Director%0A%7D%5D))%0A
 %0Aapp.use

add redis connection to app