server working mostly client and rest of server in progress