var fs=require('fs'),
url=require('url'),
express=require('express'),
session=require('express-session'),
bodyParser = require('body-parser'),
conf=require('./config'),
cookieParser=require('cookie-parser'),
http=require('http').createServer().listen(3001),
app=express();
app.use(cookieParser());
app.use(session({
secret: conf.get('session')['secret'],
resave: false,
saveUninitialized: true
}));