Source doce update - service layer, editable pages

Established service layer for business logic.
Lay foundations for editable pages; create / delete / edit text should
work for now.