Made changes to server code. Can communicate back and forth with client now.