Adding $refundPath and createRefundtoken to tokenFactory

the third parameter `$afterPath` has to optional in the interface too.