def parseConfig(opt):
places = ctllib.Places(config=opt['<STR_LIT>'], messages=opt['<STR_LIT>'])<EOL>restarter = functools.partial(ctllib.restart, places)<EOL>path = filepath.FilePath(opt['<STR_LIT>'])<EOL>return restarter, path<EOL>
Parse configuration

    :params opt: dict-like object with config and messages keys
    :returns: restarter, path