basic client class with setname implemented