Added some Mongo code, but no tests yet

Added some mongo code but no tests yet.  Will likely refactor the
layout of the code to enhance readability and have tests reach hooks in
the code better.