getting mongodb working.