Refactored page builder to use a context model to lessen variable amount, and wrapped tables into class for a model.