adding multi threaded batch loader