Implemented first version of the DSL. refs #418