simplified DSL templates, added first trivial Reference Factory