add WorkerService and MasterService (#27)