switch from ejs to jade; add conf.js file for settings; add cookie-based session support