[DocumentV1] Added versioning and branching models as well as public api definition