DSL draft for Thread manipulation