Move client's connection information to separate classes.