Separate page creation and page printing.
Started formatting implementation.