structure
client/server structure
draft server code