works now
can save and load last batch Id
Events Database in Memory, doesn't load it in every Thread