grouping templates & create frontEnd decorator