Major refactor of Mongo logic. Trying to pull almost all of the database accesses out into the Document and MongoCollection classes.