Adding basic connections class with tests