Added mongodb batch parameter; addresses issue #11.