some edits and added backend.js file
working on backend