Server and client

Added functioning server and client.