Simplify config by:

replace dpis by maxDpi
add template
remove pages