added mongodb adapter

still work in progress