add batches route to API
add task for reindex batches