Server.js mongo extractions reingineering.