Added index.js for mongodb including a model config file