A simple mongo configuration wrapper