refactor of model/transfers io