update nameMap to use a gen_server

Still need to fill in the blanks