add ConnectionHandler class