Did you add a *hero name*.upgrades.json file to the upgrades/heroes folder? You need it to set the upgrade costs etc. to your hero’s skills.
Btw if you haven’t, I recommend you to check this 20-steps guide on how to add a new class to the game (notice step 11).
Hope it helps ^__^