create server object in web.js