add sample worker
min refactor master ipc with slave