Restructured the Mongo monitor process to work in batches of vertices