moved index.js in chat folder