Catch exception
More functionality to move to the base class.
Move getChanges() and related functionality to base class.
Add mongo indices.
Fix query definition.
fix typo, remove cruft.