Minor fixes in the server code

Minor changes in the server code like changing the function
signature...& Deletion of copy client class