Modifiction of #35 pull request
- Add the number of threads parameter for RemoteSenderStage,
  RemoteReceiverStage
- Modify setLink()