code: function getVillains(req, res) {
    const docquery = Villain.find({}).read(ReadPreference.NEAREST);
    docquery
      .exec()
      .then(villains => res.status(200).json(villains))
      .catch(error => res.status(500).send(error));
  }
docs: require('./mongo').connect();