Renderer refactored & split across several classes

- extracted LayoutRenderer and MetaRenderer
- concept of enclosure box
Extracting page sizes into PageManager class