Profession Trainer

Hello guys... I'm trying to fix the Profession Trainer in the starting zones but I need a little feature to do it: the multi trainer system. Because on each gossip of the npc, must be open different trainer list per each profession. This is one of the npc that I would to fix: http://www.wowhead.com/npc=47384/

Maybe there is already something that do this but I didn't find anything so, I'm trying to convert this patch (from multivendor to multitrainer): https://github.com/SymbolixDEV/Patchs/blob/dce410baa06acbfdf6d23d6298aac4394f804eb3/Wotlk%28TrinityCore%29/Multivendor.diff