Create pdf model decorator. Refactor pdf model and controller.
Refactor pdf decorator.