Whether to bundle them to same app or not is NOT the most important part of the problem.
The logic will surely be different for the "master and slave", and it is most possibly that you will arrange the different pieces of code in different classes etc.
Put your effort in thinking of how you are going to do the distribution logic, instead of thinking of thinking of whether you are serving one or two applications. You can easily choose from them once you have the codes ready.
For the mechanism of doing the master-and-slave processing, what you have described is simply too vague for other people to give proper suggestion.