[refactoring] add slave manager