Refactored Document service
Bound to model