removed index.js from routes
added mongoose instance to model object
updated gitignore