working server
client prototype