Connection inititalization routine.

def connect(workbench):
    """Connection inititalization routine.

    """
    d = _getContextFactory(getDataPath(), workbench)
    d.addCallback(_connectWithContextFactory, workbench)
    return d