Added the modified masterslave.cpp to a branch for the server code.