Setup mongodb singleton, global access