migration to new ServiceAPI

also support of sync and async request blocks using respective keywords
as lines