Added mongo and mongoose
Use local mongodb instance if not deployed to heroku