Added HeroClassIndex class and functions