Cfy 1891

Create Connection class (in connection.py)
Test added to tests/test_plugin.py