BS-9680, refactor of document service: only one service and 3 objects