* change reference module to pallet * fix inner doc Co-authored-by: thiolliere <gui.thiolliere@gmail.com>