Introduce a DSL for controllers to "inject" materialized relations

Thanks to this approach no database interaction will take place on the
view and/or helper layers.