add nodes and mongoDB