replace ofx* by my own cpp struct