Consolidated mongo related functionality into a single package