dbHandler updated to include getRange and batch operations