registerQueryInterval supports data offset (head/tail)
added event map to shared serviceProgram

renamed shared workerLogdbService