adding embedded mongo and spring configuration