Allow DSL class to be specified in config

This allows the DSL class to be used to be specified in the config with the key "dsl_class"