Added overriding the DB service used for the token ranges
Added profiled batch processor and profiler class to support it