Render empty page with no error.

Refactor code to be more object oriented.
Better encapsulation of code.
Implement graphic and text operators for pdf version 1.3.

Implement graphic and text operators for pdf version 1.3.