Fix bugs.
Merge branch 'wzp-local'
delete templates
add logging to error handling
refactor PageInput to let PageInput to cache itself in request chain
show how to use PageInput