main.init.setNext method.
Setting main.init call sequence.
Seperate the mongodb server instances in each mongo method .
Seperate the mongodb server instances in each mongo method .
Modularize main.init calls.