DSL for defining mazurka resources