Re-wrote section of pageconfig to list of pairs to make the lambda in Page simpler