Replaced recurring things in the page generation with final static objects

Signed-off-by: Toon Schoenmakers <nighteyes1993@gmail.com>