DSL, REST, and partial behavior implementation