add connectionManager.py