Create connectionManager.php

The connection manager class.