Adding $refundPath and createRefundtoken to tokenFactory

the afterPath is not required. make it optional