updated the classes connector and clientbuffer