first draft

Just a rough draft of server and client.