Creating the hero class