Adding in previously written client and server code

just a basic outline of code for a simple client and a simple server.