Added beginnings of client-server interaction