added mongodb working on index.js and app.js
fixed index.js for mongodb
modified schema, removed array string