Add chat_server.js file and modify server.js to require chat_server.js file.