started working on client comm, need to finish client thread