trfactor to composer lib