Extract DSL class to separate file