Add connection class