slave execution; refactoring; multiple slaves support