add handlebars to predef "lots of these predef's should likely come from
the module system"
update loader to not rely on a brittle type map.