integrate connection class