Adds map, vector, getting client addr, and threading