Using DSL.
Parse SM with yaml file.