refactoring client => closeio_api