implement App::fn
emit model on app before routing
use page as context for view helper fns