refactor(workspace): out of closures

new methods instead closures

time: 0h:0