changed view dir
added ejs module
changed func: generateRes
changed some config of app.js