Integrated Client code with server code