mockup Go dsl

this would replace YAML with actual types and possibly testable code