added files

hero class
global var class