Good, I made the mistake of programming all the pokemon information on the heroes, which caused headaches in the long run.
On the 4th page of the commands, there should be a change class command.
Use that to change the class of the hero. You can set if stats should be adjusted and move added up or deleted and whatnot.
So when you want them to evolve you just call that command and change their class into their evolution's class.