extract  setting of route to file /routes/index.ejs
add new npm package 'express-ejs-layouts'  ,beause express 3.x ejs not suppor layout