Use container to lookup views (instead of globals).
Inject `config` into controllers.

Avoid deprecations from globals in template.