express createServer method used in web.js