Break out mongo into a separate module with its own tests; so far, has init, add and delete.
clean up api and tests