made clientconnection a singleton, somewhat at least