Added the server code that I have currently copied