get updated code from Sanjay sir's branch

getting updated code of server and client, with structure