class Controller(object): def __init__(self, config): self.config = config self.rest_api = CoreRestApi(self.config) def run(self): logger.debug('xivo-confd running...') self.rest_api.run()