Added basic mongodb adapter and tests